package Year2021.month10.Day21;

public class Dog1 extends Pets{
    public Dog1(String name, String varieties, double weight){
        super(name,varieties,weight);
    }

    //抓老鼠;
    public void caught(){
        System.out.println("偶尔抓老鼠！");

    }

}
